[INFO] cloning repository https://github.com/tyler569/tcp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyler569/tcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyler569%2Ftcp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyler569%2Ftcp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 02fceed1e83d5ff102e3f72952985abebf4d919d
[INFO] checking tyler569/tcp against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyler569%2Ftcp" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tyler569/tcp on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tyler569/tcp
[INFO] finished tweaking git repo https://github.com/tyler569/tcp
[INFO] tweaked toml for git repo https://github.com/tyler569/tcp written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/tyler569/tcp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ifstructs v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4792afcb7034b0919dbed40195d7816155b15d77e8a2f9fc778549ae5d6fefb8
[INFO] running `Command { std: "docker" "start" "-a" "4792afcb7034b0919dbed40195d7816155b15d77e8a2f9fc778549ae5d6fefb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4792afcb7034b0919dbed40195d7816155b15d77e8a2f9fc778549ae5d6fefb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4792afcb7034b0919dbed40195d7816155b15d77e8a2f9fc778549ae5d6fefb8", kill_on_drop: false }`
[INFO] [stdout] 4792afcb7034b0919dbed40195d7816155b15d77e8a2f9fc778549ae5d6fefb8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d479de9b967ff096dabd8e68f7efefc2faea3dddfc726110ada569bddcc7dd6f
[INFO] running `Command { std: "docker" "start" "-a" "d479de9b967ff096dabd8e68f7efefc2faea3dddfc726110ada569bddcc7dd6f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking getrandom v0.2.4
[INFO] [stderr]     Checking ifstructs v0.1.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking tcp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ones_complement_sum`
[INFO] [stdout]  --> src/udp.rs:2:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{network_checksum_2part, ones_complement_sum, AsSlice};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ones_complement_sum`
[INFO] [stdout]  --> src/udp.rs:2:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{network_checksum_2part, ones_complement_sum, AsSlice};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/main.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/main.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/ip.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 |     assert_eq!(header.total_len, 0x0073);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: `#[deny(unaligned_references)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/ip.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 143 |     assert_eq!(header.total_len, 0x7300);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private trait `AsSlice` in public interface (error E0445)
[INFO] [stdout]   --> src/packet.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn fill_l4<T: AsSlice>(&mut self, l4: T) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout]    = note: `#[warn(private_in_public)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private trait `AsSlice` in public interface (error E0445)
[INFO] [stdout]   --> src/packet.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn fill_l3<T: AsSlice>(&mut self, l3: T) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private trait `AsSlice` in public interface (error E0445)
[INFO] [stdout]   --> src/packet.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn fill_l4<T: AsSlice>(&mut self, l4: T) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout]    = note: `#[warn(private_in_public)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private trait `AsSlice` in public interface (error E0445)
[INFO] [stdout]   --> src/packet.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn fill_l3<T: AsSlice>(&mut self, l3: T) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `DESTINATION_UNREACHABLE` is never used
[INFO] [stdout]  --> src/icmp.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub const DESTINATION_UNREACHABLE: Self = Self(3);
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `SOURCE_QUENCH` is never used
[INFO] [stdout]   --> src/icmp.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub const SOURCE_QUENCH: Self = Self(4);
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `REDIRECT_MESSAGE` is never used
[INFO] [stdout]   --> src/icmp.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub const REDIRECT_MESSAGE: Self = Self(5);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ROUTER_ADVERTISEMENT` is never used
[INFO] [stdout]   --> src/icmp.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub const ROUTER_ADVERTISEMENT: Self = Self(9);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ROUTER_SOLICITATION` is never used
[INFO] [stdout]   --> src/icmp.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub const ROUTER_SOLICITATION: Self = Self(10);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `DESTINATION_UNREACHABLE` is never used
[INFO] [stdout]  --> src/icmp.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub const DESTINATION_UNREACHABLE: Self = Self(3);
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `TIME_EXCEEDED` is never used
[INFO] [stdout]   --> src/icmp.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub const TIME_EXCEEDED: Self = Self(11);
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `SOURCE_QUENCH` is never used
[INFO] [stdout]   --> src/icmp.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub const SOURCE_QUENCH: Self = Self(4);
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `BAD_IP_HEADER` is never used
[INFO] [stdout]   --> src/icmp.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const BAD_IP_HEADER: Self = Self(12);
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `REDIRECT_MESSAGE` is never used
[INFO] [stdout]   --> src/icmp.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub const REDIRECT_MESSAGE: Self = Self(5);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ROUTER_ADVERTISEMENT` is never used
[INFO] [stdout]   --> src/icmp.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub const ROUTER_ADVERTISEMENT: Self = Self(9);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `RESERVED_BIT` is never used
[INFO] [stdout]   --> src/ip.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub const RESERVED_BIT: u16 = 0x8000;
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ROUTER_SOLICITATION` is never used
[INFO] [stdout]   --> src/icmp.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub const ROUTER_SOLICITATION: Self = Self(10);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `DF_BIT` is never used
[INFO] [stdout]   --> src/ip.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub const DF_BIT: u16 = 0x4000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `MF_BIT` is never used
[INFO] [stdout]   --> src/ip.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub const MF_BIT: u16 = 0x2000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `version` is never used
[INFO] [stdout]   --> src/ip.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn version(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reserved_bit` is never used
[INFO] [stdout]   --> src/ip.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn reserved_bit(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `TIME_EXCEEDED` is never used
[INFO] [stdout]   --> src/icmp.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub const TIME_EXCEEDED: Self = Self(11);
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `df_bit` is never used
[INFO] [stdout]   --> src/ip.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn df_bit(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `mf_bit` is never used
[INFO] [stdout]   --> src/ip.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn mf_bit(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `frag_offset` is never used
[INFO] [stdout]   --> src/ip.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn frag_offset(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PacketView` is never constructed
[INFO] [stdout]  --> src/packet.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PacketView<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `BAD_IP_HEADER` is never used
[INFO] [stdout]   --> src/icmp.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const BAD_IP_HEADER: Self = Self(12);
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `data_mut` is never used
[INFO] [stdout]    --> src/packet.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub fn data_mut(&mut self) -> Option<&mut [u8]> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `RESERVED_BIT` is never used
[INFO] [stdout]   --> src/ip.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub const RESERVED_BIT: u16 = 0x8000;
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `DF_BIT` is never used
[INFO] [stdout]   --> src/ip.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub const DF_BIT: u16 = 0x4000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `MF_BIT` is never used
[INFO] [stdout]   --> src/ip.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub const MF_BIT: u16 = 0x2000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `version` is never used
[INFO] [stdout]   --> src/ip.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn version(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reserved_bit` is never used
[INFO] [stdout]   --> src/ip.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn reserved_bit(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `df_bit` is never used
[INFO] [stdout]   --> src/ip.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn df_bit(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `mf_bit` is never used
[INFO] [stdout]   --> src/ip.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn mf_bit(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `frag_offset` is never used
[INFO] [stdout]   --> src/ip.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn frag_offset(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PacketView` is never constructed
[INFO] [stdout]  --> src/packet.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PacketView<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `data_mut` is never used
[INFO] [stdout]    --> src/packet.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub fn data_mut(&mut self) -> Option<&mut [u8]> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tcp` due to 5 previous errors; 23 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d479de9b967ff096dabd8e68f7efefc2faea3dddfc726110ada569bddcc7dd6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d479de9b967ff096dabd8e68f7efefc2faea3dddfc726110ada569bddcc7dd6f", kill_on_drop: false }`
[INFO] [stdout] d479de9b967ff096dabd8e68f7efefc2faea3dddfc726110ada569bddcc7dd6f
